package cn.bnjy.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ⁬获奖地址表
 * </p>
 *
 * @author chavin
 * @since 2018-12-09
 */
@Data
@NoArgsConstructor
public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private int id;
    private String openId;            // openId
    private String name;              // 名称
    private String mobile;            // 手机号码
    private String address;           // 地址
    private String remark;            // 备注
    private Date createTime;          // 创建时间

    public Address(String openId, String name, String mobile, String address, Date createTime) {
        this.openId = openId;
        this.name = name;
        this.mobile = mobile;
        this.address = address;
        this.createTime = createTime;
    }
}
